﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UserScript.ExpressionParsing.Irony.Parsing {
  // Should be implemented by Grammar class to be able to run samples in Grammar Explorer.
  internal interface ICanRunSample {
    string RunSample(RunSampleArgs args);
  }

  internal class RunSampleArgs {
    internal LanguageData Language;
    internal string Sample;
    internal ParseTree ParsedSample;
    internal RunSampleArgs(LanguageData language, string sample, ParseTree parsedSample) {
      Language = language;
      Sample = sample;
      ParsedSample = parsedSample;
    }
  }

}
